package com.balad.entities;

import java.util.ArrayList;

public class POI {
	int id_poi;
	String titre;
	String description;
	double longitude;
	double latitude;
	ArrayList<Media> colMediaPhoto;
	ArrayList<Media> colMedia;
	
	public POI() {
		this.colMediaPhoto = new ArrayList<Media>();
		this.colMedia = new ArrayList<Media>();
	}

	public int getId_poi() {
		return id_poi;
	}

	public void setId_poi(int id_poi) {
		this.id_poi = id_poi;
	}

	public String getTitre() {
		return titre;
	}

	public void setTitre(String titre) {
		this.titre = titre;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public double getLongitude() {
		return longitude;
	}

	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}

	public double getLatitude() {
		return latitude;
	}

	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}

	public ArrayList<Media> getColMediaPhoto() {
		return this.colMediaPhoto;
	}
	
	public Media getMediaPhoto(int i) {
		return this.colMediaPhoto.get(i);
	}
	
	public void addMediaPhoto(Media mediaPhoto) {
		this.colMediaPhoto.add(mediaPhoto);
	}
	
	public int getColMediaPhotoSize (){
		return this.colMediaPhoto.size();
	}

	public Media getMedia(int i) {
		return this.colMedia.get(i);
	}

	public void addMedia(Media media) {
		this.colMedia.add(media);
	}
	
	public int getColMediaSize (){
		return this.colMedia.size();
	}

}
